package com.direct.domian;
import java.util.HashSet;
import java.util.Set;

/**
 * 角色表
 * 
 * @author Administrator
 * 
 */

public class Role {

	private String id;
	private String name;
	private String remark;
	// 所拥有的权限
	private Set powers = new HashSet(0);

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set getPowers() {
		return powers;
	}

	public void setPowers(Set powers) {
		this.powers = powers;
	}

	public Role() {
	}

	public Role(String id) {
		this.id = id;
	}

	public Role(String id, String name, String remark, Set powers) {
		this.id = id;
		this.name = name;
		this.remark = remark;
		this.powers = powers;
	}

}